<div class="width_950">
<div class="tab2"><a href="?r=site/index">首页</a>&gt;&gt;<a href="?r=business/search_by_area&area_code=<?php echo $area_model->code;?>"><?php echo $area_model->name;?></a><?php if($b_name!=''):?>&gt;&gt;<a href="?r=business/search_by_area&area_code=<?php echo $area_model->code;?>&b_name=<?php echo $b_name;?>"><?php echo $b_name;?></a><?php endif;?></div>
</div>
<div id="wzpic" class="width_950" style="margin-top:20px;"><a target="_blank" href="<?php echo Yii::app()->params['ad']['top5'][2];?>"><img src="<?php echo Yii::app()->params['ad']['top5'][0];?>" width="950" height="90" title="<?php echo Yii::app()->params['ad']['top5'][1];?>" /></a></div>
<div class="width_950" style="padding:10px;">
<table border="0" cellspacing="0" cellpadding="0" class="dataGrid">
  <tr>
    <td width="140" align="center">商标</td>
    <td width="180" align="center">品牌</td>
    <td width="300" align="center">厂家名称</td>
    <td width="200" align="center">所在地</td>
    <td width="200" align="center">更新时间</td>
  </tr>
  <?php foreach($models as $n=>$val):?>
   <tr class="<?php echo $n%2?'even':'odd';?>">
    <td height="70" align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $val->id;?>"><img src="<?php echo $val->logo;?>" width="128" height="60" /></a></td>
    <td align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $val->id;?>"><?php echo $val->brand;?></a></td>
    <td align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $val->id;?>"><?php echo $val->name;?></a></td>
    <td align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $val->id;?>"><?php echo CHtml::encode($val->province_name.' '.$val->city_name.' '.$val->area_name); ?></a></td>
    <td align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $val->id;?>"><?php echo $val->update_time;?></a></td>
  </tr>
  <?php endforeach; ?>
</table>
</div>
<?php $this->widget('CLinkPager',array('pages'=>$pages,'htmlOptions'=>array('style'=>'width:900px;'))); ?>